package com.mg.yygh.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mg.yygh.model.cmn.Dict;
import org.apache.http.HttpResponse;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author M_Dragon
 * @date 2022/8/23/023 14:33
 */
public interface DictService extends IService<Dict> {
    List<Dict> findChildData(Long id);

    void exportData(HttpServletResponse response);

    void importData(MultipartFile file);

    String getName(String value, String dictCode);

    List<Dict> findByDictCode(String dictCode);
}
